From 88e633d165cf7f1bad946cbfd3db842a1d881070 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 5 Apr 2006 21:29:12 +0000 Subject: [PATCH] Fix return value of try_open_gpsbabel_inifile. --- inifile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inifile.c b/inifile.c index 5bf47a1c7..8b2b26d9f 100644 --- a/inifile.c +++ b/inifile.c @@ -113,8 +113,8 @@ open_gpsbabel_inifile(void) if (res == NULL) res = try_open_gpsbabel_inifile("/usr/local/etc"); if (res == NULL) res = try_open_gpsbabel_inifile("/etc"); #endif - if (res == NULL) return NULL; } + return res; } static void -- 2.30.2